"""Version：1.0"""
import ReadDataProgram

# 处理课题组神经信号设备的数据
def processdata_zzuneural(folder):
    att_folder = folder + '/Attitude data'
    ReadDataProgram.__dict__['readzzuNeuralIMU'](folder=att_folder)
    gps_folder = folder + '/GPS data'
    ReadDataProgram.__dict__['readzzuNeuralGPS'](folder=gps_folder)

def processdata_3bird(folder):
    ReadDataProgram.__dict__['read3birdPosAttIMU'](folder=folder)
    ReadDataProgram.__dict__['read3birdPosAttGPS'](folder=folder)



if __name__ == '__main__':

    """zzuneural的文件夹下应该包含两个子文件夹，Attitude data和/GPS data"""
    # zzuneural_folder = 'D:/About_code/FlyNueralProject/original_data/P35/20240907'
    # processdata_zzuneural(zzuneural_folder)

    """3bird的文件夹下直接包含所有的txt文件"""
    threebird_folder = 'C:/Users/HP/Desktop/3birds/1.ALLTEST/20240910_IntegratedNavigation/device_1'
    processdata_3bird(threebird_folder)